package com.ywh.hilttest.test3.static_param

import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.components.ActivityComponent
import javax.inject.Named

@Module
@InstallIn(ActivityComponent::class)
class SdkConstructorObjectModule {

    @Named("one")
    @Provides
    fun get1(param3: SdkParam) = SdkConstructorObject(param3)

    @Named("two")
    @Provides
    fun get2(param3: SdkParam) = SdkConstructorObject(param3, "jksjkfja")
}